import 'package:flutter_bloc/flutter_bloc.dart';


part 'qr_state.dart';

class QRCubit extends Cubit<QRState> {
  QRCubit() : super(QRInitial());

  static QRCubit get(context) => BlocProvider.of(context);

  void init() {
  }

  //var selectedCamera = CameraSelector.back;

  changeCamera(){
    //selectedCamera = (selectedCamera == CameraSelector.back )? CameraSelector.front : CameraSelector.back;
    emit(QRUpdate());
  }

}
